<?php include("includes/startPage.php"); checkLogin(0); ?>
<?php include("process_registration.php"); ?>
<?php include('includes/header.php'); printHeader("Register", "Nordic Sauna");?> <!-- (PageTitle, Banner Text) Prints <head>, opens <body> and prints banner -->
<?php include('includes/navigation.php'); printLeftMenu("register"); ?> <!-- Navigation include, (currentpagename) -->

<?php OpenContentSection(); ?> 
	<!-- Content Starts -->
	<h2>Nordic-Sauna Registration Form</h2>
	Register now to access our software library!<br /><br />

	<form name="registrationForm" action="register.php" method="POST" onsubmit="return check_user_registration_form()">
            <table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">Username:</font>
                    </td>
                    <td>
                        <input name="Username" id="Username" size="30" value="" type="text">
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">Password:</font>
                    </td>
                    <td>
                        <input name="Password" id="Password" size="30" value="" type="Password">
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">Confirm Password:</font>
                    </td>
                    <td>
                        <input name="PasswordConfirm" id="PasswordConfirm" size="30" value="" type="Password">
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-10">&nbsp;</font>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">First name:</font>
                    </td>
                    <td>
                        <input name="FirstName" id="FirstName" size="30" value="" type="text">
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">Last name:</font>
                    </td>
                    <td>
                        <input name="LastName" id="LastName" size="30" value="" type="text">
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">Email Address:</font>
                    </td>
                    <td>
                        <input name="Email" id="Email" size="30" value="" type="text">
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" valign="top" width="10%">
                        <font size="-1">Phone Number:</font>
                    </td>
                    <td>
                        <input name="Phone" id="Phone" size="30" value="" type="text">
                    </td>
                </tr>
            </table>
            
            <table>
                <tr>
                    <td colspan="1">&nbsp;</td>
                    <td style="" align="left" nowrap="nowrap">
                            <input name="submit" id="submit" value="Submit" style="font-weight: bold;" type="submit" />
                            <input name="reset" id="reset" value="Reset" type="reset" onclick="return confirm('Reset all fields?');">
                    </td>
                </tr>
            </table>
        </form>
        
        <?php
            if (isset($messageString))
            {
                echo "<font size=+4, color=Green>&nbsp;&nbsp;" . $messageString . "</font>";
            }
        ?>
	<!-- Content Ends -->
<?php CloseContentSection(); ?> 

<?php include('includes/footer.php');?>
